package com.scy.edu.server;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 司晨雨
 * @date 2020/7/6 20:40
 * @description
 */
public class MyContext {

    private String name;

    private String contextPath;

    private List<MyWrapper> myWrappers = new ArrayList<MyWrapper>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<MyWrapper> getMyWrappers() {
        return myWrappers;
    }

    public void setMyWrappers(List<MyWrapper> myWrappers) {
        this.myWrappers = myWrappers;
    }

    public String getContextPath() {
        return contextPath;
    }

    public void setContextPath(String contextPath) {
        this.contextPath = contextPath;
    }

    public String getWebXml(){
        return this.contextPath+ File.separator+"web.xml";
    }

}
